package com.td.module.pests.controller.admin.library.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.td.framework.excel.core.annotations.DictFormat;
import com.td.framework.excel.core.convert.DictConvert;
import lombok.Data;

import java.time.LocalDateTime;


/**
 * 病虫害知识库 Excel VO
 *
 * @author wangxx
 */
@Data
public class LibraryExcelVO {

    @ExcelProperty("ID")
    private Long id;

    @ExcelProperty("病虫害名称")
    private String diseaseName;

    @ExcelProperty("病虫害类型")
    private Integer diseaseType;

    @ExcelProperty(value = "农作物类型", converter = DictConvert.class)
    @DictFormat("agro_review_product_type")
    private Integer cropsType;

    @ExcelProperty("农作物")
    private String crop;

    @ExcelProperty("病虫害异名")
    private String diseaseNameOther;

    @ExcelProperty("病虫害英文名")
    private String diseaseNameEng;

    @ExcelProperty("病虫害简介")
    private String diseaseIntro;

    @ExcelProperty("病虫害图片列表")
    private String diseaseImgList;

    @ExcelProperty("防治")
    private String cMethod;

    @ExcelProperty("危害症状")
    private String damageSym;

    @ExcelProperty("习性")
    private String habits;

    @ExcelProperty("形态")
    private String morphology;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
